Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UNIX socket support for redis session store #58

Open
wants to merge 2 commits into
base: 10.0
Choose a base branch
from

Conversation

telac
Copy link

@telac telac commented Jul 23, 2019

This commit adds unix socket option for redis session store. Using the option requires that both redis_host and redis_port should be None. If no unix socket is supplied, the behavior doesn't change at all. This commit can be applies to both branches 11.0 and 12.0 as is.

This is one possible solution to issue #56

This commit adds unix socket option for redis session store. Using the option requires that both redis_host and redis_port should be None. If no unix socket is supplied, the behavior doesn't change at all. This commit can be applies to both branches 11.0 and 12.0 as is.
@telac
Copy link
Author

telac commented Jul 23, 2019

Closing the PR for now. This commit is missing a check that the port value is not None before trying to convert port value to integer.

@telac telac closed this Jul 23, 2019
@telac telac reopened this Jul 23, 2019
@telac
Copy link
Author

telac commented Jul 23, 2019

The temporary fix works for our testing environment, you'll probably want to come up with something more sophisticated though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant